package com.hpf.community.service.impl;

import com.hpf.community.model.RoleAuthModel;
import com.hpf.community.mapper.RoleAuthMapper;
import com.hpf.community.service.IRoleAuthService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色权限表 服务实现类
 * </p>
 *
 * @author huangpengfei
 * @version 2020年04月04日---22:57:14
 */
@Service
public class RoleAuthServiceImpl extends ServiceImpl<RoleAuthMapper, RoleAuthModel> implements IRoleAuthService {

    @Autowired
    private RoleAuthMapper roleAuthMapper;

    @Override
    public List<RoleAuthModel> selectRoleAuthList(String roleId) {
        return roleAuthMapper.selectRoleAuthList(roleId);
    }
}
